<!DOCTYPE html>
<html lang="zh-CN">
  <head>
      <meta charset="utf-8">
      <!--不支持老版本IE-->
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <!--device-width自适应移动端宽度，initial-scale=1不进行缩放-->
      <title>网上新闻发布</title>
    <!-- Bootstrap 核心样式文件 -->
      <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
      <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
      <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
      <style type="text/css">
          /*设置body，不要让导航条（默认50px）压到下面的内容*/
           body { padding-top: 0px; }

          /*图片设置大小*/
          .carousel-inner .item img {
              height: 300px;
              width: 100%;
          }
      </style>

  </head>

  <body>
    <div class="carousel-inner" role="listbox">
                <!--图片-->
	   <div class   ="item active">
			     <img src  ="Images/34.jpg" alt="风景1"></img>
				<div class   ="carousel-caption">
				<!--h4中的内容显示到图片上面，-->
					<h1>网上新闻发布系统</h1>
						
				</div>
       </div>
    </div>

	  <div class="row  .justify-content-xl-center">
        <center><h2>信息修改系统</h2></center>
    </div>
    <div class="container">
        <ul class="nav nav-pills nav-justified">
          <li class="active"><a data-toggle="pill" href="#username">修改用户名</a></li>
          <li><a data-toggle="pill" href="#userpassword">修改用户密码</a></li>
        </ul>

      <div class="tab-content">
        <div class="tab-pane fade in active" id="username">
            <p></p>
            <form action="./cgi_modify" class="form-horizontal" role="form" method="GET">
              <div class="form-group">
                <label class="col-sm-5 control-label">输入你的新用户名</label>
                <div class="col-xs-2">
                    <input class="form-control" type="text" id="formGroupInputLarge" name="newname" placeholder="请输入你的新用户名">
                </div>
              </div>
  
              <div class="form-group">
                <div class="col-sm-offset-5 col-sm-2">
                    <button type="submit" class="btn btn-default">确认修改</button>
                </div>
              </div>
            </form>
        </div>

        <div class="tab-pane fade" id="userpassword">
          <p></p>
             <form  action="./cgi_modify" class="form-horizontal" role="form" method="GET">
              <div class="form-group">
                <label class="col-sm-5 control-label">输入你的用户名</label>
                <div class="col-xs-2">
                    <input class="form-control" type="text" id="formGroupInputLarge" name="name" placeholder="请输入你的用户名">
                </div>
              </div>

              <div class="form-group">
                <label class="col-sm-5 control-label">输入你的新密码</label>
                <div class="col-xs-2">
                    <input class="form-control" type="password" id="formGroupInputLarge" name="pwd" placeholder="输入你的新密码">
                </div>
              </div>

              <div class="form-group">
                <div class="col-sm-offset-5 col-sm-2">
                    <button type="submit" class="btn btn-default">确认修改</button>
                </div>
              </div>
            </form>
        </div>
      </div>
    </div>

  </body>
</html>
